package cn.tedu.Animal;

public class Swallow extends Bird implements fly {
    @Override
    void IayEggs() {
        System.out.println("燕子下蛋的数量为"+egg);
    }

    @Override
    public void fly1() {
        System.out.println("燕子飞了");
    }
    public void nesting(){
        System.out.println("燕子自己筑巢");
    }
}
